package com.example;

import com.example.springboot001.service.LoginService;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

//@SpringBootApplication
public class Springboot001Application {

    public static void main(String[] args) {
        ConfigurableApplicationContext context =SpringApplication.run(Springboot001Application.class, args);
        context.getBean(LoginService.class).login();
    }

}
